<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="JQuery/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="JQuery/themes/icon.css" />
<link type="text/css" rel="stylesheet" href="css/common.css" />
<script language="javascript" src="JQuery/jquery-1.7.1.min.js"></script>
<script language="javascript" src="JQuery/jquery.easyui.min.js"></script>
<script language="javascript" src="xheditor-1.1.12/xheditor-1.1.12-zh-cn.min.js"></script>
<script language="javascript" src="js/common.js"></script>
<script language="javascript" src="js/sendemail.js"></script>
</head>
<body>
<div class='easyui-panel' noheader='true' style="padding:3px; overflow:auto;" border='false' fit='true'>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<form name="sendemail_form1" id="sendemail_form1" method="post">
<input type="hidden" name="type" value="SendTestMail" />
<tr>
  <td height="28" align="right">邮件标题: </td>
  <td height="28" colspan="2">&nbsp;<input name="title" type="text" size="60"/></td>
</tr>
<tr>
  <td width="5%" rowspan="4" align="right" valign="top">&nbsp;</td>
  <td height="28"><input type="radio" name="stype" value="1"/>群发用户:    </td>
  <td height="28"><select name="group" id="select" style="width:120px">
    <!-- BEGIN group_list -->
    <option value="{tb}">{name}</option>
    <!-- END group_list -->
  </select>
&nbsp;&nbsp;先择群发编号位(1-32):
<select name="group3" id="group" style="width:80px">
  <!-- BEGIN send_no -->
  <option value="{no}">{no}</option>
  <!-- END send_no -->
</select>
&nbsp;&nbsp;
<input name="send" type="checkbox" value="1" checked>
立即发送</td>
</tr>
<tr>
  <td width="7%" height="28"><img src="#" width="79" height="11" style="visibility:hidden"></td>
  <td width="88%" height="28">发送时间间隔:
    <input name="interval" value="1" size="6" />
    * 10分钟&nbsp;&nbsp;&nbsp;&nbsp;每次发送:
  <input name="count" value="1" size="6" />
    封</td>
</tr>
<tr>
  <td height="28"><input type="radio" name="stype" value="1"/>到期提醒:</td>
  <td height="28"><select name="group2" id="group2" style="width:120px">
    <!-- BEGIN group_list -->
    <option value="{tb}">{name}</option>
    <!-- END group_list -->
    </select></td>
</tr>
<tr>
  <td height="28">&nbsp;</td>
  <td height="28">提醒时间:<input name="lastday" value="30" size="6">
    天, 每 <input name="lastday2" value="7" size="6">
    天提醒一次</td>
</tr>
<tr>
  <td rowspan="3" align="right" valign="top" style="padding:6px">发送内容:</td>
  <td height="25" colspan="2">&nbsp;邮件变量替换规 {QQ} =&gt; QQ号, {name} =&gt; 昵称, {license} =&gt; 服务账号, {lastdt} =&gt; 到期时间, {data} =&gt; 当前日期</td>
</tr>
<tr>
  <td height="34"><input name="mtype" type="radio" value="1"/>
    发送网页</td>
  <td height="34"><input name="url" type="text" id="sendemail_url" size="60"/>
&nbsp; <a href="javascript:void(0)" iconcls="icon-save" class="easyui-linkbutton" onClick="OnSubmit()">预览</a></td>
</tr>
<tr>
  <td align="left" valign="top">
  <input name="mtype" type="radio" value="1" checked/>
  编辑邮件</td>
  <td align="left"><textarea id="sendemail_preview" name="sendemail_preview" style="width:600px; height:300px;">{Editor}</textarea></td>
</tr>
<tr>
  <td align="left"><img src="#" width="66" height="3" style="visibility:hidden"></td>
  <td colspan="2" align="left"><a href="javascript:void(0)" iconCls="icon-save" class="easyui-linkbutton" onClick="OnSubmit()">保存</a></td>
</tr>
<tr>
  <td align="left">&nbsp;</td>
  <td colspan="2" align="left">测试邮箱地址:
    <input name="test" type="text" size="60"/>
    <a href="javascript:void(0)" iconCls="icon-save" class="easyui-linkbutton" onClick="OnSubmit()"> 发送测试</a></td>
</tr>
</form>
</table>
</div>

</body>
</html>
